package com.niodata.dp.monitor.sharelib.entity.az;

import java.util.Date;

public class FlowExecutor {

  private int id;
  private String host;
  private int port;
  private boolean isActive;
  private double remainingMemoryPercent;
  private long remainingMemoryInMb;
  private int remainingFlowCapacity;
  private int numberOfAssignedFlows;
  private Date lastDispatchedTime;
  private double cpuUsage;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getHost() {
    return host;
  }

  public void setHost(String host) {
    this.host = host;
  }

  public int getPort() {
    return port;
  }

  public void setPort(int port) {
    this.port = port;
  }

  public boolean isActive() {
    return isActive;
  }

  public void setActive(boolean active) {
    isActive = active;
  }

  public double getRemainingMemoryPercent() {
    return remainingMemoryPercent;
  }

  public void setRemainingMemoryPercent(double remainingMemoryPercent) {
    this.remainingMemoryPercent = remainingMemoryPercent;
  }

  public long getRemainingMemoryInMb() {
    return remainingMemoryInMb;
  }

  public void setRemainingMemoryInMb(long remainingMemoryInMb) {
    this.remainingMemoryInMb = remainingMemoryInMb;
  }

  public int getRemainingFlowCapacity() {
    return remainingFlowCapacity;
  }

  public void setRemainingFlowCapacity(int remainingFlowCapacity) {
    this.remainingFlowCapacity = remainingFlowCapacity;
  }

  public int getNumberOfAssignedFlows() {
    return numberOfAssignedFlows;
  }

  public void setNumberOfAssignedFlows(int numberOfAssignedFlows) {
    this.numberOfAssignedFlows = numberOfAssignedFlows;
  }

  public Date getLastDispatchedTime() {
    return lastDispatchedTime;
  }

  public void setLastDispatchedTime(Date lastDispatchedTime) {
    this.lastDispatchedTime = lastDispatchedTime;
  }

  public double getCpuUsage() {
    return cpuUsage;
  }

  public void setCpuUsage(double cpuUsage) {
    this.cpuUsage = cpuUsage;
  }
}
